﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Activities;
using Microsoft.TeamFoundation.Build.Client;
using Microsoft.TeamFoundation.Build.Workflow.Activities;


namespace TeamDeploy.Activities
{
    [BuildActivity(HostEnvironmentOption.Agent)]
    public abstract class CustomActivityBase : CodeActivity
    {
        public InArgument<string> IgnoreExitCode { get; set; }

        protected void LogMessage(CodeActivityContext context, string message)
        {
            context.TrackBuildMessage(message, BuildMessageImportance.High);

        }
    }
}

